wayland: Add surface to toplevel list only if toplevel
authorJonas Ådahl <jadahl@gmail.com>
Tue, 17 Mar 2020 14:28:14 +0000 (15:28 +0100)
committerJonas Ådahl <jadahl@gmail.com>
Wed, 8 Apr 2020 21:32:47 +0000 (23:32 +0200)
commit307cc69adb472bcdfeb1cafa01adf8948022f6f8
treef41d085c58d8c9e1ad160d5648fba62c5f4f1a23
parentab6b5ae56812c6fced2c096b2fc42115e6de0e42
wayland: Add surface to toplevel list only if toplevel

It was using another check (has parent) to do this, but now we have a
much more obvious way of creating surfaces, so we can use the type
directly.
gdk/wayland/gdksurface-wayland.c